package com.fks.fks_service.utils;

import com.fks.fks_service.pojo.UserDB;
import org.springframework.stereotype.Component;

@Component
public class PrivacyEncryptionUtil {


    public UserDB privacyEncryption(UserDB user){
        //隐私信息加密
        user.setPassword("******");
        user.setPayPassword("******");
        user.setStatus("******");
        user.setRealName("***");
        user.setRealAge("***");
        user.setRealGender("***");
        user.setIDCard("****");
        user.setIDCardOpposite("***");
        user.setIDCardFront("***");
        user.setPortrait("***");
        return user;
    }


}
